from django.db import models
from productsApp.models import Product

productList = Product.objects.all().order_by('-views')
if(len(productList)>4):
    productList = productList[0:4]
# Create your models here.
